import request from '@/utils/request'
// todo issue.vue

// 获得发布的知识表
// http://localhost:8081/knowMain/getAll
export function getAllApi(params) {
  return request.get('/knowMain/getAll',{
    params: params 
  })
}

// 新增知识
// http://localhost:8081/knowMain/Insert
export function insertApi(params) {
  return request.get('/knowMain/Insert',{
    params: params 
  })
}

// 获得知识附件
export function getKnowFileApi(params) {
  return request.get('/knowArchFiles/getByKnowId',{
    params: params
  })
}


